package com.jof.framework.hmc.domain;

import java.util.Date;

import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * @author zhangtao
 * 消息模型基础类：定义发送者信息
 *
 */
@XStreamAlias("baseinfo")
public class MessageModule extends HmcMessage{

	/**
	 * 
	 */
	private static final long serialVersionUID = 687064129331706252L;

	/**
	 * 系统名称
	 */
	@XStreamAlias("system")
	private String system;

	/**
	 * 发送时间
	 */
	@XStreamAlias("sendMessageTime")
	private Date sendMessageTime;
	
	@XStreamAlias("checkingStatus")
	private boolean checkingStatus=false;
	
	@XStreamAlias("checkStatusQueueName")
	private String checkStatusQueueName;

	public String getSystem() {
		return system;
	}

	public void setSystem(String system) {
		this.system = system;
	}

	public Date getSendMessageTime() {
		return sendMessageTime;
	}

	public void setSendMessageTime(Date sendTime) {
		this.sendMessageTime = sendTime;
	}

	
	public String toString() {
		return "MessageModule [system=" + system + ", sendMessageTime=" + sendMessageTime + ", checkingStatus=" + checkingStatus + ", CheckStatusQueueName=" + checkStatusQueueName +"]";
	}

	public boolean isCheckingStatus() {
		return checkingStatus;
	}

	public boolean getCheckingStatus() {
		return checkingStatus;
	}
	
	public void setCheckingStatus(boolean isCheckingStatus) {
		this.checkingStatus = isCheckingStatus;
	}

	public String getCheckStatusQueueName() {
		return checkStatusQueueName;
	}

	public void setCheckStatusQueueName(String checkStatusQueueName) {
		this.checkStatusQueueName = checkStatusQueueName;
	}
	
	public static enum QUEUE_NM {
		EXCEPTION_CAPTURE_QUEUE,API_CALL_SUM_QUEUE,EXCEPTION_CONFIGURE_REFRESH_TOPIC;
	}

}
